﻿using CTS.Com.Domain.Helper;
using CTS.Web.Com.Resources.Strings;

namespace CTS.Web.Com
{
    public class WebCom
    {
        public static void ApplyResources()
        {
            // Load validate rules
            AppHelper.LoadValidateRules(typeof(WebCom), "CTS.Web.Com.ValidateRules.xml");
            // Load message resource
            AppHelper.LoadMessageResources(WebMessages.ResourceManager);
            // Load name resource
            AppHelper.LoadNameResources(WebNames.ResourceManager);
        }
    }
}
